package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 12/7/20
 * @decs：
 */

public interface ProDetailContract {
    interface Model {
        void getProDetail(String manufacturer, String productNo, String model, String stockName, String expiryDate,int pageSize, int pageNum, int type,BaseCallBack baseCallBack);


        void getInventoryDetail(String customerId,String hospitalId,String goodsId,String hwId,int pageSize, int pageNum,BaseCallBack baseCallBack);
    }

    interface View {
        void onGetProDetailSuccess(ResponseBean responseBean);

        void onGetInventoryDetailSuccess(ResponseBean responseBean);
        void onError(String msg);
    }

    interface Presenter {
        void getProDetail(String manufacturer, String productNo, String model, String stockName, String expiryDate,int pageSize, int pageNum,int type);
        void getInventoryDetail(String customerId,String hospitalId,String goodsId,String hwId,int pageSize, int pageNum);


    }
}
